package com.mxsat.system.dao.impl;

import java.util.Map;

import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mxsat.common.dao.DaoImpl;
import com.mxsat.system.dao.SysDictItemDao;
import com.mxsat.system.entity.SysDictItem;

@Repository
public class SysDictItemDaoImpl extends DaoImpl<BaseMapper<SysDictItem>, SysDictItem> implements SysDictItemDao {

	@Override
	public IPage<SysDictItem> selectDictItemByPage(IPage<SysDictItem> page, Map<String, Object> condition) throws Exception {
		QueryWrapper<SysDictItem> queryWrapper = new QueryWrapper<>();
		queryWrapper.allEq(condition);
		return this.page(page, queryWrapper);
	}

	 

}
